package com.miaoxie.forum.module.framework.server.services.impl;


import com.miaoxie.forum.module.framework.server.dao.IWebIMDao;
import com.miaoxie.forum.module.framework.server.services.IWebIMService;
import com.miaoxie.forum.module.framework.shared.entity.Users;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by miaoxie on 2017/2/21.
 */
@Service
public class WebIMService implements IWebIMService {

    @Autowired
    IWebIMDao webIMDao;
    /**
     * 登录
     *
     * @param qq
     * @param username
     * @param pwd
     * @return
     */
    @Override
    public Users login(String qq, String username, String pwd) {
        return webIMDao.login(qq,username,pwd);
    }
}
